PulseCanvas / app · pulsecanvas.ai / Sources / PulseCanvas / Resources / ProjectM / Presets / Dancer / Murky Mirror / xtramartin (278).milk
| 1 | MILKDROP_PRESET_VERSION=201 |
| 2 | PSVERSION=3 |
| 3 | PSVERSION_WARP=3 |
| 4 | PSVERSION_COMP=3 |
| 5 | [preset00] |
| 6 | fRating=5.000000 |
| 7 | fGammaAdj=1.980 |
| 8 | fDecay=0.500 |
| 9 | fVideoEchoZoom=0.952 |
| 10 | fVideoEchoAlpha=0.500 |
| 11 | nVideoEchoOrientation=3 |
| 12 | nWaveMode=4 |
| 13 | bAdditiveWaves=1 |
| 14 | bWaveDots=0 |
| 15 | bWaveThick=0 |
| 16 | bModWaveAlphaByVolume=1 |
| 17 | bMaximizeWaveColor=0 |
| 18 | bTexWrap=1 |
| 19 | bDarkenCenter=1 |
| 20 | bRedBlueStereo=0 |
| 21 | bBrighten=0 |
| 22 | bDarken=1 |
| 23 | bSolarize=0 |
| 24 | bInvert=0 |
| 25 | fWaveAlpha=0.001 |
| 26 | fWaveScale=2.107 |
| 27 | fWaveSmoothing=0.000 |
| 28 | fWaveParam=-0.220 |
| 29 | fModWaveAlphaStart=0.810 |
| 30 | fModWaveAlphaEnd=1.400 |
| 31 | fWarpAnimSpeed=1.459 |
| 32 | fWarpScale=2.007 |
| 33 | fZoomExponent=1.00000 |
| 34 | fShader=0.000 |
| 35 | zoom=0.99990 |
| 36 | rot=0.00000 |
| 37 | cx=0.500 |
| 38 | cy=0.500 |
| 39 | dx=0.00000 |
| 40 | dy=0.00000 |
| 41 | warp=0.01000 |
| 42 | sx=0.99990 |
| 43 | sy=1.00000 |
| 44 | wave_r=0.600 |
| 45 | wave_g=0.500 |
| 46 | wave_b=0.000 |
| 47 | wave_x=0.500 |
| 48 | wave_y=0.500 |
| 49 | ob_size=0.000 |
| 50 | ob_r=0.000 |
| 51 | ob_g=0.000 |
| 52 | ob_b=0.000 |
| 53 | ob_a=1.000 |
| 54 | ib_size=0.260 |
| 55 | ib_r=0.250 |
| 56 | ib_g=0.250 |
| 57 | ib_b=0.250 |
| 58 | ib_a=0.000 |
| 59 | nMotionVectorsX=64.000 |
| 60 | nMotionVectorsY=48.000 |
| 61 | mv_dx=0.000 |
| 62 | mv_dy=0.000 |
| 63 | mv_l=1.850 |
| 64 | mv_r=0.500 |
| 65 | mv_g=0.500 |
| 66 | mv_b=0.500 |
| 67 | mv_a=0.000 |
| 68 | b1n=0.000 |
| 69 | b2n=0.000 |
| 70 | b3n=0.000 |
| 71 | b1x=1.000 |
| 72 | b2x=1.000 |
| 73 | b3x=1.000 |
| 74 | b1ed=0.000 |
| 75 | wavecode_0_enabled=1 |
| 76 | wavecode_0_samples=512 |
| 77 | wavecode_0_sep=256 |
| 78 | wavecode_0_bSpectrum=1 |
| 79 | wavecode_0_bUseDots=0 |
| 80 | wavecode_0_bDrawThick=0 |
| 81 | wavecode_0_bAdditive=0 |
| 82 | wavecode_0_scaling=1.00000 |
| 83 | wavecode_0_smoothing=0.80000 |
| 84 | wavecode_0_r=1.000 |
| 85 | wavecode_0_g=1.000 |
| 86 | wavecode_0_b=1.000 |
| 87 | wavecode_0_a=0.040 |
| 88 | wave_0_per_point1=sw = (1-sw)*above(sample,0); |
| 89 | wave_0_per_point2= |
| 90 | wave_0_per_point3=osa = sample*above(sample,0); |
| 91 | wave_0_per_point4= |
| 92 | wave_0_per_point5=mod = pow(value1*2,2)*sign(value1)*.5; |
| 93 | wave_0_per_point6= |
| 94 | wave_0_per_point7=mod = value1; |
| 95 | wave_0_per_point8=mod = mod*sw; |
| 96 | wave_0_per_point9= |
| 97 | wave_0_per_point10=y = if(sw,osa,sample*.5+.25); |
| 98 | wave_0_per_point11=y = sample*.5+.25; |
| 99 | wave_0_per_point12=y = (y-0.5)/(q32) + 0.5; |
| 100 | wave_0_per_point13=x = 1 - mod*.5; |
| 101 | wave_0_per_point14= |
| 102 | wave_0_per_point15=osa = sample; |
| 103 | wave_0_per_point16= |
| 104 | wave_0_per_point17=mo = 3.7 + mod*6 + q1; |
| 105 | wave_0_per_point18= |
| 106 | wave_0_per_point19=r = .5 + sin(q23*.9 +mo)*.5; |
| 107 | wave_0_per_point20=g = .5 + sin(q23*.89+mo + 1.5472)*.5; |
| 108 | wave_0_per_point21=b = .5 + sin(q23*.88+mo + 2.8944)*.5; |
| 109 | wave_0_per_point22= |
| 110 | wave_0_per_point23=//a = 3 - abs(mod)*12; |
| 111 | wave_0_per_point24=//a = 3-sw; |
| 112 | wave_0_per_point25=//a = max(0,min(a,1)); |
| 113 | wavecode_1_enabled=1 |
| 114 | wavecode_1_samples=512 |
| 115 | wavecode_1_sep=256 |
| 116 | wavecode_1_bSpectrum=1 |
| 117 | wavecode_1_bUseDots=0 |
| 118 | wavecode_1_bDrawThick=0 |
| 119 | wavecode_1_bAdditive=0 |
| 120 | wavecode_1_scaling=1.00000 |
| 121 | wavecode_1_smoothing=0.80000 |
| 122 | wavecode_1_r=1.000 |
| 123 | wavecode_1_g=1.000 |
| 124 | wavecode_1_b=1.000 |
| 125 | wavecode_1_a=0.040 |
| 126 | wave_1_per_point1=sw = (1-sw)*below(sample,1); |
| 127 | wave_1_per_point2= |
| 128 | wave_1_per_point3=osa = sample*above(sample,0); |
| 129 | wave_1_per_point4= |
| 130 | wave_1_per_point5=mod = pow(value2*2,2)*sign(value2)*.5; |
| 131 | wave_1_per_point6= |
| 132 | wave_1_per_point7=mod = value2; |
| 133 | wave_1_per_point8=mod = mod*sw; |
| 134 | wave_1_per_point9= |
| 135 | wave_1_per_point10=y = if(sw,osa,sample*.5+.25); |
| 136 | wave_1_per_point11=y = sample*.5+.25; |
| 137 | wave_1_per_point12=y = (y-0.5)/(q32) + 0.5; |
| 138 | wave_1_per_point13=x = 0+ mod*.5; |
| 139 | wave_1_per_point14= |
| 140 | wave_1_per_point15=osa = sample; |
| 141 | wave_1_per_point16= |
| 142 | wave_1_per_point17=mo = 3.7 + mod*6 + q1; |
| 143 | wave_1_per_point18= |
| 144 | wave_1_per_point19=r = .5 + sin(q23*.95+mo)*.5; |
| 145 | wave_1_per_point20=g = .5 + sin(q23*.96+mo + 1.5472)*.5; |
| 146 | wave_1_per_point21=b = .5 + sin(q23*.97+mo + 2.8944)*.5; |
| 147 | wave_1_per_point22= |
| 148 | wave_1_per_point23=//a = 3 - abs(mod)*12; |
| 149 | wave_1_per_point24=//a = 3-sw; |
| 150 | wave_1_per_point25=//a = max(0,min(a,1)); |
| 151 | wavecode_2_enabled=1 |
| 152 | wavecode_2_samples=512 |
| 153 | wavecode_2_sep=0 |
| 154 | wavecode_2_bSpectrum=0 |
| 155 | wavecode_2_bUseDots=1 |
| 156 | wavecode_2_bDrawThick=1 |
| 157 | wavecode_2_bAdditive=1 |
| 158 | wavecode_2_scaling=1.00000 |
| 159 | wavecode_2_smoothing=0.50000 |
| 160 | wavecode_2_r=1.000 |
| 161 | wavecode_2_g=1.000 |
| 162 | wavecode_2_b=1.000 |
| 163 | wavecode_2_a=1.000 |
| 164 | wave_2_init1=mx=.5; |
| 165 | wave_2_init2=my=.5; |
| 166 | wave_2_init3=md=2; |
| 167 | wave_2_per_point1=oldmd=md; |
| 168 | wave_2_per_point2=md=(md+int(rand(4)))%4; |
| 169 | wave_2_per_point3=md=if(equal(md,oldmd),(md+1)%4,md); |
| 170 | wave_2_per_point4= |
| 171 | wave_2_per_point5=mx=mx+(equal(md,0)*.002*bass); |
| 172 | wave_2_per_point6=mx=mx-(equal(md,1)*.002*bass); |
| 173 | wave_2_per_point7=my=my+(equal(md,2)*.002*treb); |
| 174 | wave_2_per_point8=my=my-(equal(md,3)*.002*treb); |
| 175 | wave_2_per_point9= |
| 176 | wave_2_per_point10=mx=if(above(mx,.9),.5,mx); |
| 177 | wave_2_per_point11=mx=if(below(mx,.1),.5,mx); |
| 178 | wave_2_per_point12=my=if(above(my,.9),.5,my); |
| 179 | wave_2_per_point13=my=if(below(my,.1),.5,my); |
| 180 | wave_2_per_point14= |
| 181 | wave_2_per_point15=x=mx; |
| 182 | wave_2_per_point16=y=my; |
| 183 | wave_2_per_point17=a=bass*.1; |
| 184 | wavecode_3_enabled=1 |
| 185 | wavecode_3_samples=512 |
| 186 | wavecode_3_sep=0 |
| 187 | wavecode_3_bSpectrum=0 |
| 188 | wavecode_3_bUseDots=1 |
| 189 | wavecode_3_bDrawThick=1 |
| 190 | wavecode_3_bAdditive=1 |
| 191 | wavecode_3_scaling=1.00000 |
| 192 | wavecode_3_smoothing=0.50000 |
| 193 | wavecode_3_r=1.000 |
| 194 | wavecode_3_g=1.000 |
| 195 | wavecode_3_b=1.000 |
| 196 | wavecode_3_a=1.000 |
| 197 | wave_3_init1=mx=.5; |
| 198 | wave_3_init2=my=.4; |
| 199 | wave_3_init3=md=3; |
| 200 | wave_3_per_point1=oldmd=md; |
| 201 | wave_3_per_point2=md=(md+int(rand(4)))%4; |
| 202 | wave_3_per_point3=md=if(equal(md,oldmd),(md+1)%4,md); |
| 203 | wave_3_per_point4= |
| 204 | wave_3_per_point5=mx=mx+(equal(md,0)*.002*bass); |
| 205 | wave_3_per_point6=mx=mx-(equal(md,1)*.002*bass); |
| 206 | wave_3_per_point7=my=my+(equal(md,2)*.002*treb); |
| 207 | wave_3_per_point8=my=my-(equal(md,3)*.002*treb); |
| 208 | wave_3_per_point9= |
| 209 | wave_3_per_point10=mx=if(above(mx,.9),.5,mx); |
| 210 | wave_3_per_point11=mx=if(below(mx,.1),.5,mx); |
| 211 | wave_3_per_point12=my=if(above(my,.9),.5,my); |
| 212 | wave_3_per_point13=my=if(below(my,.1),.5,my); |
| 213 | wave_3_per_point14= |
| 214 | wave_3_per_point15=x=mx; |
| 215 | wave_3_per_point16=y=my; |
| 216 | wave_3_per_point17=a=bass*.1; |
| 217 | shapecode_0_enabled=1 |
| 218 | shapecode_0_sides=16 |
| 219 | shapecode_0_additive=0 |
| 220 | shapecode_0_thickOutline=0 |
| 221 | shapecode_0_textured=1 |
| 222 | shapecode_0_num_inst=5 |
| 223 | shapecode_0_x=0.730 |
| 224 | shapecode_0_y=0.500 |
| 225 | shapecode_0_rad=0.29466 |
| 226 | shapecode_0_ang=0.00000 |
| 227 | shapecode_0_tex_ang=0.00000 |
| 228 | shapecode_0_tex_zoom=2.79176 |
| 229 | shapecode_0_r=0.700 |
| 230 | shapecode_0_g=0.700 |
| 231 | shapecode_0_b=1.000 |
| 232 | shapecode_0_a=1.000 |
| 233 | shapecode_0_r2=0.000 |
| 234 | shapecode_0_g2=0.000 |
| 235 | shapecode_0_b2=0.000 |
| 236 | shapecode_0_a2=0.000 |
| 237 | shapecode_0_border_r=1.000 |
| 238 | shapecode_0_border_g=1.000 |
| 239 | shapecode_0_border_b=0.000 |
| 240 | shapecode_0_border_a=0.000 |
| 241 | shape_0_per_frame1=trig = q25; |
| 242 | shape_0_per_frame2=a = trig*min(bass+treb,1); a2 = trig*0; |
| 243 | shape_0_per_frame3=//a = min(bass+treb-1,1); |
| 244 | shape_0_per_frame4=x0 = x0 *bnot(trig) + trig*int(rand(100))/100; |
| 245 | shape_0_per_frame5=y0 = y0 *bnot(trig) + trig*int(rand(100))/100; |
| 246 | shape_0_per_frame6= |
| 247 | shape_0_per_frame7= |
| 248 | shape_0_per_frame8=k1 = instance/num_inst*6.28; |
| 249 | shape_0_per_frame9=ampl = .1*q22+.1; |
| 250 | shape_0_per_frame10= |
| 251 | shape_0_per_frame11= |
| 252 | shape_0_per_frame12=x0 = .5 +q15*ampl *cos(k1+q17); y0 = .5+ q16*ampl*sin(k1+q17); |
| 253 | shape_0_per_frame13= |
| 254 | shape_0_per_frame14= |
| 255 | shape_0_per_frame15=tex_ang = int(rand(20))/3; |
| 256 | shape_0_per_frame16=//tex_ang = time; |
| 257 | shape_0_per_frame17=rad = .1 + int(rand(8))/12; |
| 258 | shape_0_per_frame18= |
| 259 | shape_0_per_frame19=x = x0; y = y0; |
| 260 | shape_0_per_frame20=r = .7+.3*sin(time/12); |
| 261 | shape_0_per_frame21=b = .7+.3*sin(time/15); |
| 262 | shape_0_per_frame22=g = .7+.3*sin(time/8); |
| 263 | shape_0_per_frame23=r2 = r; b2 = b; g2 = g; |
| 264 | shapecode_1_enabled=1 |
| 265 | shapecode_1_sides=32 |
| 266 | shapecode_1_additive=0 |
| 267 | shapecode_1_thickOutline=0 |
| 268 | shapecode_1_textured=0 |
| 269 | shapecode_1_num_inst=37 |
| 270 | shapecode_1_x=0.500 |
| 271 | shapecode_1_y=0.500 |
| 272 | shapecode_1_rad=0.03640 |
| 273 | shapecode_1_ang=0.81681 |
| 274 | shapecode_1_tex_ang=0.37699 |
| 275 | shapecode_1_tex_zoom=1.02841 |
| 276 | shapecode_1_r=1.000 |
| 277 | shapecode_1_g=1.000 |
| 278 | shapecode_1_b=1.000 |
| 279 | shapecode_1_a=0.050 |
| 280 | shapecode_1_r2=1.000 |
| 281 | shapecode_1_g2=1.000 |
| 282 | shapecode_1_b2=1.000 |
| 283 | shapecode_1_a2=0.000 |
| 284 | shapecode_1_border_r=1.000 |
| 285 | shapecode_1_border_g=1.000 |
| 286 | shapecode_1_border_b=1.000 |
| 287 | shapecode_1_border_a=0.000 |
| 288 | shape_1_per_frame1=k1 = instance/num_inst*6.28; |
| 289 | shape_1_per_frame2=tmp = q17/32+time*.1; |
| 290 | shape_1_per_frame3=trel = tmp-int(tmp); |
| 291 | shape_1_per_frame4= |
| 292 | shape_1_per_frame5=yes = above(sin(time/9.5),0); |
| 293 | shape_1_per_frame6= |
| 294 | shape_1_per_frame7=bright = 6*q2*q2*yes+.1*min(q8,1); |
| 295 | shape_1_per_frame8=border_a = bright; |
| 296 | shape_1_per_frame9= |
| 297 | shape_1_per_frame10=tmp = 2*sin(time/12)-1; |
| 298 | shape_1_per_frame11=a = .5*yes*pow(2,-18*abs(k1-6.28*trel)) * above(tmp,0)*tmp*tmp; |
| 299 | shape_1_per_frame12=ampl = .1; |
| 300 | shape_1_per_frame13=rad = .02+.0*sin(k1*4+time); |
| 301 | shape_1_per_frame14=x = .5 +q15*ampl *cos(k1+q17); y = .5+ q16*ampl*sin(k1+q17); |
| 302 | shape_1_per_frame15= |
| 303 | shape_1_per_frame16=r0 = sin(time/7); |
| 304 | shape_1_per_frame17=g0 = sin(time/5); |
| 305 | shape_1_per_frame18=b0 = sin(time/9); |
| 306 | shape_1_per_frame19= |
| 307 | shape_1_per_frame20=border_r = .8 + .2*r0; |
| 308 | shape_1_per_frame21=border_g = .8 + .2*g0; |
| 309 | shape_1_per_frame22=border_b = .8 + .2*b0; |
| 310 | shape_1_per_frame23= |
| 311 | shape_1_per_frame24= |
| 312 | shape_1_per_frame25=//r = .5*r0; g = .5*g0; b = 0.5*b0; ; |
| 313 | shape_1_per_frame26= |
| 314 | shape_1_per_frame27=//r2 = 0; g2 = 0; b2 = 0; |
| 315 | shape_1_per_frame28= |
| 316 | shape_1_per_frame29=a2 = 0; |
| 317 | shape_1_per_frame30= |
| 318 | shapecode_2_enabled=1 |
| 319 | shapecode_2_sides=32 |
| 320 | shapecode_2_additive=1 |
| 321 | shapecode_2_thickOutline=1 |
| 322 | shapecode_2_textured=0 |
| 323 | shapecode_2_num_inst=33 |
| 324 | shapecode_2_x=0.500 |
| 325 | shapecode_2_y=0.500 |
| 326 | shapecode_2_rad=0.10000 |
| 327 | shapecode_2_ang=0.00000 |
| 328 | shapecode_2_tex_ang=0.00000 |
| 329 | shapecode_2_tex_zoom=1.00000 |
| 330 | shapecode_2_r=0.000 |
| 331 | shapecode_2_g=0.500 |
| 332 | shapecode_2_b=0.000 |
| 333 | shapecode_2_a=1.000 |
| 334 | shapecode_2_r2=0.000 |
| 335 | shapecode_2_g2=0.500 |
| 336 | shapecode_2_b2=0.000 |
| 337 | shapecode_2_a2=0.000 |
| 338 | shapecode_2_border_r=1.000 |
| 339 | shapecode_2_border_g=1.000 |
| 340 | shapecode_2_border_b=1.000 |
| 341 | shapecode_2_border_a=0.000 |
| 342 | shape_2_per_frame1=trans = int(rand(int(q1)))/5+instance-instance; |
| 343 | shape_2_per_frame2=trans2 = int(rand(int(q1)))/5+instance-instance; |
| 344 | shape_2_per_frame3=trans3 = int(rand(int(q1)))/5+instance-instance; |
| 345 | shape_2_per_frame4=a = trans; |
| 346 | shape_2_per_frame5= |
| 347 | shape_2_per_frame6=x = (sin(q23)+1.57)*.3 + int(rand(15))*0.01*bass_att*if(equal(int(rand(2)),1),1,-1)+instance-instance; |
| 348 | shape_2_per_frame7=y = (cos(q23)+1.57)*.3 + int(rand(15))*0.01*bass_att*if(equal(int(rand(2)),1),1,-1)+instance-instance; |
| 349 | shape_2_per_frame8=rad = .09 + int(rand(int(q1)))/15+instance-instance; |
| 350 | shape_2_per_frame9=r=int(rand(q1))*.1+instance-instance; |
| 351 | shape_2_per_frame10=g=int(rand(q1))*.1+instance-instance; |
| 352 | shape_2_per_frame11=b=int(rand(q1))*.1+instance-instance; |
| 353 | shape_2_per_frame12=r2=int(rand(q1))*.1+instance-instance; |
| 354 | shape_2_per_frame13=g2=int(rand(q1))*.1+instance-instance; |
| 355 | shape_2_per_frame14=b2=int(rand(q1))*.1+instance-instance; |
| 356 | shape_2_per_frame15=border_r=int(rand(q1))*.1+instance-instance; |
| 357 | shape_2_per_frame16=border_g=int(rand(q1))*.1+instance-instance; |
| 358 | shape_2_per_frame17=border_b=int(rand(q1))*.1+instance-instance; |
| 359 | shapecode_3_enabled=1 |
| 360 | shapecode_3_sides=32 |
| 361 | shapecode_3_additive=0 |
| 362 | shapecode_3_thickOutline=1 |
| 363 | shapecode_3_textured=1 |
| 364 | shapecode_3_num_inst=7 |
| 365 | shapecode_3_x=0.500 |
| 366 | shapecode_3_y=0.500 |
| 367 | shapecode_3_rad=0.10000 |
| 368 | shapecode_3_ang=0.00000 |
| 369 | shapecode_3_tex_ang=0.00000 |
| 370 | shapecode_3_tex_zoom=1.00000 |
| 371 | shapecode_3_r=0.000 |
| 372 | shapecode_3_g=0.000 |
| 373 | shapecode_3_b=0.500 |
| 374 | shapecode_3_a=1.000 |
| 375 | shapecode_3_r2=0.000 |
| 376 | shapecode_3_g2=0.000 |
| 377 | shapecode_3_b2=0.500 |
| 378 | shapecode_3_a2=0.000 |
| 379 | shapecode_3_border_r=1.000 |
| 380 | shapecode_3_border_g=1.000 |
| 381 | shapecode_3_border_b=1.000 |
| 382 | shapecode_3_border_a=0.000 |
| 383 | shape_3_per_frame1=trans = int(rand(int(q1)))/15+instance-instance; |
| 384 | shape_3_per_frame2=trans2 = int(rand(int(q1)))/15+instance-instance; |
| 385 | shape_3_per_frame3=trans3 = int(rand(int(q1)))/15+instance-instance; |
| 386 | shape_3_per_frame4=a = trans; |
| 387 | shape_3_per_frame5= |
| 388 | shape_3_per_frame6=x = (sin(q23)+1.57)*.3 + int(rand(15))*0.01*mid_att*if(equal(int(rand(2)),1),1,-1)+instance-instance; |
| 389 | shape_3_per_frame7=y = (cos(q23)+1.57)*.3 + int(rand(15))*0.01*mid_att*if(equal(int(rand(2)),1),1,-1)+instance-instance; |
| 390 | shape_3_per_frame8=rad = .09 + int(rand(int(q1)))/15+instance-instance; |
| 391 | shape_3_per_frame9=r=int(rand(q1))*.1+instance-instance; |
| 392 | shape_3_per_frame10=g=int(rand(q1))*.1+instance-instance; |
| 393 | shape_3_per_frame11=b=int(rand(q1))*.1+instance-instance; |
| 394 | shape_3_per_frame12=r2=int(rand(q1))*.1+instance-instance; |
| 395 | shape_3_per_frame13=g2=int(rand(q1))*.1+instance-instance; |
| 396 | shape_3_per_frame14=b2=int(rand(q1))*.1+instance-instance; |
| 397 | shape_3_per_frame15=border_r=int(rand(q1))*.1+instance-instance; |
| 398 | shape_3_per_frame16=border_g=int(rand(q1))*.1+instance-instance; |
| 399 | shape_3_per_frame17=border_b=int(rand(q1))*.1+instance-instance; |
| 400 | shape_3_per_frame18= |
| 401 | per_frame_init_1=avg = 1; |
| 402 | per_frame_init_2=index = int(rand(8)); |
| 403 | per_frame_init_3=index2 = int(rand(8)); |
| 404 | per_frame_init_4=ran = 1; |
| 405 | per_frame_init_5=spb_=.3; |
| 406 | per_frame_init_6=sdev = .1; |
| 407 | per_frame_init_7=trel2 = rand (100)/100; |
| 408 | per_frame_1=vol=bass+treb+mid; |
| 409 | per_frame_2=q1=max(1,min(5.5,vol*1.15)); |
| 410 | per_frame_3=atime=atime+vol; |
| 411 | per_frame_4=q23=atime*.02; |
| 412 | per_frame_5=dec_med = pow (0.9, 30/fps); dec_slow = pow (0.98, 30/fps); |
| 413 | per_frame_6=beat = bass+mid+treb; |
| 414 | per_frame_7=avg = avg*dec_slow + beat*(1-dec_slow); |
| 415 | per_frame_8=is_beat = above(beat, .2+avg+peak) * above (time, t0+.1); |
| 416 | per_frame_9=t0 = is_beat*time + (1-is_beat)*t0; |
| 417 | per_frame_10=peak = is_beat * beat + (1-is_beat)*peak*dec_med; |
| 418 | per_frame_11=index = (index + is_beat) %16; |
| 419 | per_frame_12=index2 = (index2 + is_beat*bnot(index))%12; |
| 420 | per_frame_13= |
| 421 | per_frame_14=spb = min(t0-t0a + .01,2); t0a = t0; |
| 422 | per_frame_15=spb_ = if(is_beat,spb_ *.9 +.1*spb, spb_); |
| 423 | per_frame_16=mindev = min(min(abs(spb-spb_),abs(spb*2-spb_)),abs(spb-spb_*2)); |
| 424 | per_frame_17=sdev = if(is_beat,sdev * .9 + .1*pow(mindev+.02,2),sdev); |
| 425 | per_frame_18= |
| 426 | per_frame_19=q20 = avg; q21 = beat; |
| 427 | per_frame_20=q22 = peak+.1; |
| 428 | per_frame_21=q24 = is_beat; |
| 429 | per_frame_22=q27 = index; q28 = index2; |
| 430 | per_frame_23= |
| 431 | per_frame_24=trel = trel + 1/fps/spb_*4; itrel = int(trel); |
| 432 | per_frame_25=q25 = above(itrel, itrel_); |
| 433 | per_frame_26=q30 = itrel%2; |
| 434 | per_frame_27=itrel_ = itrel; |
| 435 | per_frame_28=q31 = itrel; |
| 436 | per_frame_29= |
| 437 | per_frame_30=ma = ma + peak/fps ; |
| 438 | per_frame_31=mx=mx*dec_med+(1-dec_med)*cos(ma); |
| 439 | per_frame_32=my=my*dec_med+(1-dec_med)*sin(ma+trel/16); |
| 440 | per_frame_33=q15 = mx ; q16 = my ; q17 = ma; |
| 441 | per_frame_34= |
| 442 | per_frame_35=//first par: off; second: on |
| 443 | per_frame_36=sw1 = if(sw1,bnot(q24*bnot(int(rand(20)))),q24*bnot(int(rand(20)))); |
| 444 | per_frame_37=sw2 = if(sw2,bnot(q24*bnot(int(rand(10)))),q24*bnot(int(rand(80)))); |
| 445 | per_frame_38=sw3 = if(sw3,bnot(q24*bnot(int(rand(10)))),q24*bnot(int(rand(100+10000*sdev)))); |
| 446 | per_frame_39= |
| 447 | per_frame_40=//********* variation parameters warp shader |
| 448 | per_frame_41=q6 = sin(time/15)*sin(time/27)*.2; //zz weighting |
| 449 | per_frame_42=q10 = sin(time/8); //ring |
| 450 | per_frame_43=q10 = q10*q10*.1; |
| 451 | per_frame_44=q11 = 1.5+sin(time/7.8); //zoom uv2 |
| 452 | per_frame_45=q12 = if(below(sdev,.015)*bnot(q8),q25,1); //go |
| 453 | per_frame_46=q13 = .5+sin(time/17); //pow noise warp s |
| 454 | per_frame_47=q19 = sin(time/5.3)*.2; //sunpos |
| 455 | per_frame_48= |
| 456 | per_frame_49=//********* variation parameters comp shader |
| 457 | per_frame_50=q3 = sw1;//mirror |
| 458 | per_frame_51=q4 = .02/sdev; //unused ### |
| 459 | per_frame_52=q5 = max(min(4*sin(trel/64)-3,1),0)*.4; //water |
| 460 | per_frame_53=q7 = below(sdev,.004)*(index2%2); //flash |
| 461 | per_frame_54=q2 = abs(q19)*sqrt(q15*q15+q16*q16); //avoid black - frame eq2 |
| 462 | per_frame_55= |
| 463 | per_frame_56=trel2 = trel2+.003*q22*q22/fps; |
| 464 | per_frame_57=tmp = sin(trel2); |
| 465 | per_frame_58=tmp = 20*tmp-19; |
| 466 | per_frame_59=q8 = tmp*above(tmp,0)*(4/max(q22-4,0.2)+4); // dyn zoom |
| 467 | per_frame_60=q26 = above(q22,12)*(q22-12)*2; //# ok??? |
| 468 | per_frame_61= |
| 469 | per_frame_62=tmp = index2/6; |
| 470 | per_frame_63=q14 = abs((tmp-int(tmp))-.5)*6+1; //ang multi |
| 471 | per_frame_64= |
| 472 | per_frame_65=tmp =sin(trel/4*3.14); //sym rot |
| 473 | per_frame_66=jmp = jmp + above(tmp,.5)*tmp/fps*8*sw2; |
| 474 | per_frame_67=q9 = jmp*equal(q14,1)*below(sdev,0.04)+time*above(sin(q17/23),.9); |
| 475 | per_frame_68=q18 = tmp * bnot(q8) * sw3; //waber |
| 476 | per_frame_69= |
| 477 | per_frame_70=monitor = sw1; |
| 478 | per_frame_71=rot = .003; |
| 479 | per_frame_72=warp = .0; |
| 480 | per_frame_73=zoom = 1+(avg-log(sdev))/200; |
| 481 | per_frame_74=//dx = tmp*.01*above(abs(tmp),.95); |
| 482 | per_frame_75=q32=aspecty;monitor=vol; |
| 483 | warp_1=`float3 dx,dy,ret1; |
| 484 | warp_2=`float2 zz,uv1,uv2; |
| 485 | warp_3=`float n1,n2,n3,n4,zv, noise, k1; |
| 486 | warp_4=`static float2 sunpos = float2 (q15,q16)*q19 ;//##! |
| 487 | warp_5=`static float3 suncol = .5+normalize(roam_cos); |
| 488 | warp_6=`static float2x2 ofs = float2x2 (texsize.z,0,0,texsize.w)*2; |
| 489 | warp_7=` |
| 490 | warp_8=`float3 cloud (float2 uv_in) { |
| 491 | warp_9=`return saturate(+.0005/abs(length(uv_in-sunpos)-q10/q22))*suncol;} |
| 492 | warp_10=` |
| 493 | warp_11=`shader_body { |
| 494 | warp_12=`uv1 = (uv-.5);//*aspect.xy; |
| 495 | warp_13=` |
| 496 | warp_14=`dx = tex2D(sampler_main,uv+ofs[0]) - tex2D(sampler_main,uv-ofs[0]); |
| 497 | warp_15=`dy = tex2D(sampler_main,uv+ofs[1]) - tex2D(sampler_main,uv-ofs[1]); |
| 498 | warp_16=`zz = float2(dx.b,dy.b); |
| 499 | warp_17=` |
| 500 | warp_18=`//clouds |
| 501 | warp_19=`zv = time*.1 ; |
| 502 | warp_20=`uv2 = q11*uv1+ 0.04*time; |
| 503 | warp_21=`n1 = tex3D(sampler_noisevol_hq,float3 (uv2.x,uv2.y,zv)).b; |
| 504 | warp_22=`n2 = tex3D(sampler_noisevol_hq,float3 (uv2.x*2,uv2.y*2,zv*2)).b; |
| 505 | warp_23=`n3 = tex3D(sampler_noisevol_hq,float3 (uv2.x*4,uv2.y*4,zv*3)).b; |
| 506 | warp_24=`n4 = tex3D(sampler_noisevol_hq,float3 (uv2.x*8,uv2.y*8,zv*7)).b; |
| 507 | warp_25=`noise = n1 + n2/2 + n3/4 + n4/8 -1; |
| 508 | warp_26=` |
| 509 | warp_27=`noise = pow(noise,q13); |
| 510 | warp_28=`uv2 = uv1*(1+.5*q2)+noise*.1; //q2 hier ? ## |
| 511 | warp_29=` |
| 512 | warp_30=`//******************************* |
| 513 | warp_31=`float blur = GetBlur3(uv1/4+.5)+.2; |
| 514 | warp_32=` |
| 515 | warp_33=`ret1 = cloud(uv2) ; |
| 516 | warp_34=`ret1 = ret1/blur + tex2D (sampler_main, uv1+.5+q6*zz)*.98-.01-blur*.1-.0*length(zz); |
| 517 | warp_35=`float go = q12; |
| 518 | warp_36=`ret = go*ret1 + (1-go)*GetPixel(uv) ; |
| 519 | warp_37=` |
| 520 | warp_38=`float3 ret7=ret; |
| 521 | warp_39=`if(frame%3==0)ret.z=.71-ret7.x; |
| 522 | warp_40=`if(frame%5==0)ret.x=.71-ret7.y; |
| 523 | warp_41=`if(frame%7==0)ret.y=.71-ret7.z; |
| 524 | warp_42=`} |
| 525 | comp_1=`float3 ret1, neu; |
| 526 | comp_2=`float2 uv1, uv2,uv4,rsk,dz1,Kugel1; |
| 527 | comp_3=`float ang2, c, s,rad1,mask1,zoom; |
| 528 | comp_4=`static int n = 1; |
| 529 | comp_5=`static int anz = 4; |
| 530 | comp_6=`int m; |
| 531 | comp_7=` |
| 532 | comp_8=`shader_body { |
| 533 | comp_9=` |
| 534 | comp_10=`uv = (uv-.5)*aspect.xy; |
| 535 | comp_11=`//Kugel1 |
| 536 | comp_12=`rsk = uv+.2 ; |
| 537 | comp_13=`dz1 = normalize(rsk); |
| 538 | comp_14=`rad1 = 16*length (rsk) ; |
| 539 | comp_15=`uv4 = tan(rad1)*dz1; |
| 540 | comp_16=`mask1 = saturate(10-7*rad1); |
| 541 | comp_17=`Kugel1 = uv4*mask1; |
| 542 | comp_18=` |
| 543 | comp_19=`float2 rs = float2(.1/rad*q15,ang*.2*q22); |
| 544 | comp_20=`float noise = tex2D (sampler_noise_mq,rs); |
| 545 | comp_21=` |
| 546 | comp_22=` |
| 547 | comp_23=`uv /= 1+ q8*length(uv); //zoom |
| 548 | comp_24=`uv *= 1-q28%2/4; |
| 549 | comp_25=`uv *= 1+q5*noise*rad; |
| 550 | comp_26=`uv *=1; |
| 551 | comp_27=`ret1 = 0; |
| 552 | comp_28=`while (n <= anz) { |
| 553 | comp_29=` m = n%2; |
| 554 | comp_30=` ang2 = 6.28*n/anz*q14 + 0*(n%2-.5)*q9 + q28*3.14/4;//## |
| 555 | comp_31=` c = cos(ang2); |
| 556 | comp_32=` s = sin(ang2); |
| 557 | comp_33=` uv2.x = uv.x*c - uv.y*s; |
| 558 | comp_34=` uv2.y = uv.x*s + uv.y*c ; |
| 559 | comp_35=` uv2 /= 1+ q26*length(uv)*m; //flash zoom |
| 560 | comp_36=` uv2 *= 1+(m-.5)*q18; //waber |
| 561 | comp_37=` if (q3*m == 1) {uv2=uv2.yx;} |
| 562 | comp_38=` neu = tex2D(sampler_main, uv2 + 0.5); //# |
| 563 | comp_39=` ret1 = max(ret1,neu-.0); |
| 564 | comp_40=` n++; |
| 565 | comp_41=`} |
| 566 | comp_42=`ret1 *= ((1-q7)+q7*q25/2); |
| 567 | comp_43=`ret = 1-exp(-ret1*4); |
| 568 | comp_44=` |
| 569 | comp_45=`float3 ret7=ret; |
| 570 | comp_46=`if(frame%02==0)ret.x=.71-ret7.y; |
| 571 | comp_47=` |
| 572 | comp_48=`ret = pow(ret,1.5); |
| 573 | comp_49=` |
| 574 | comp_50=`if(frame%11==0)ret.y=.71-ret7.z; |
| 575 | comp_51=` |
| 576 | comp_52=`ret = lerp(lum(ret),ret,saturate(q20/3)); |
| 577 | comp_53=` |
| 578 | comp_54=`if(frame%13==0)ret.z=.71-ret7.x; |
| 579 | comp_55=`//ret-=.2; |
| 580 | comp_56=`//ret=.7-ret; |
| 581 | comp_57=`} |